<template>
  <div class="">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
       <el-breadcrumb-item>企业药品目录管理</el-breadcrumb-item>
       </el-breadcrumb>
    <el-table :data="tableData" border style="width:900px;margin-top:20px">
      <el-table-column fixed prop="date" label="企业" width="150">
      </el-table-column>
      <el-table-column prop="name" label="药品" width="120">
      </el-table-column>
      <el-table-column prop="province" label="种类" width="120">
      </el-table-column>
      <el-table-column prop="city" label="功能" width="120">
      </el-table-column>
      <el-table-column prop="address" label="备注" width="300">
      </el-table-column>
      <el-table-column fixed="right" label="操作" width="100">
        <template slot-scope="scope">
          <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
          <el-button type="text" size="small">编辑</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
  export default {
        data() {
      return {
        tableData: [{
          date: '企业A',
          name: '药品A',
          province: 'A',
          city: '功能A',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '企业A',
          name: '药品B',
          province: 'A',
          city: '功能A',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '企业A',
          name: '药品C',
          province: 'A',
          city: '功能A',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '企业A',
          name: '药品D',
          province: 'A',
          city: '功能A',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }]
      }
    }
  }

</script>

<style scoped>


</style>
